import createIconSet from 'react-native-vector-icons/lib/create-icon-set';
import glyphMap from './iconfont.json';

const MyIcon = createIconSet(glyphMap, "iconfont", 'iconfont.ttf');// 这里第二个参数为Font Family，要与iconfont项目的Font Family属性一致
// <MyIcon name="rocket" size={30} color="#900" />
export default MyIcon;